#!/bin/bash  
# Y2Mate youtube download web: Insert "pi" after "youtube" in the URL bar

for name in ./*.mp4;
do
target="${name//Y2Mate.is - /}"
target="${target/%-*/.mp4}" 
mv "$name" "$target"

# echo mv "$name" "${target}" 
done